transcript on
if {[file exists rtl_work]} {
	vdel -lib rtl_work -all
}
vlib rtl_work
vmap work rtl_work

vlog -vlog01compat -work work +incdir+C:/Users/111/Desktop/exp3 {C:/Users/111/Desktop/exp3/jk_trigger.v}
vlog -vlog01compat -work work +incdir+C:/Users/111/Desktop/exp3 {C:/Users/111/Desktop/exp3/rs_trigger.v}
vlog -vlog01compat -work work +incdir+C:/Users/111/Desktop/exp3 {C:/Users/111/Desktop/exp3/d_trigger.v}
vlog -vlog01compat -work work +incdir+C:/Users/111/Desktop/exp3 {C:/Users/111/Desktop/exp3/rip_cnt10.v}
vlog -vlog01compat -work work +incdir+C:/Users/111/Desktop/exp3 {C:/Users/111/Desktop/exp3/yiwei_register.v}
vlog -vlog01compat -work work +incdir+C:/Users/111/Desktop/exp3 {C:/Users/111/Desktop/exp3/sx_register.v}
vlog -vlog01compat -work work +incdir+C:/Users/111/Desktop/exp3 {C:/Users/111/Desktop/exp3/exp3.v}
vlog -vlog01compat -work work +incdir+C:/Users/111/Desktop/exp3 {C:/Users/111/Desktop/exp3/syn_cnt10.v}
vlog -vlog01compat -work work +incdir+C:/Users/111/Desktop/exp3 {C:/Users/111/Desktop/exp3/keni_cnt10.v}

vlog -vlog01compat -work work +incdir+C:/Users/111/Desktop/exp3 {C:/Users/111/Desktop/exp3/exp3_tb.v}

vsim -t 1ps -L altera_ver -L lpm_ver -L sgate_ver -L altera_mf_ver -L altera_lnsim_ver -L cycloneive_ver -L rtl_work -L work -voptargs="+acc"  exp3_tb

add wave *
view structure
view signals
run -all
